package com.chinafree.business.service;

import com.chinafree.business.model.result.Industry;
import com.chinafree.business.model.result.PositionResult;
import com.chinafree.business.model.result.ProvCityResult;
import com.chinafree.common.model.response.EntityResponse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import java.util.List;

public interface CommonService {

    EntityResponse<List<ProvCityResult>> getProvinceResult();

    EntityResponse<List<PositionResult>> getPositionResult();
    
    List<Industry> getIndustry();

//    EntityResponse<MultipartFile> downloadPic(String path);

//    void downloadFile(HttpServletResponse response, String packetPicPath);

    EntityResponse<String> uploadPic(MultipartFile file, String uploadDir, HttpServletRequest request) throws Exception;

    void exportResume(Long userId,HttpServletResponse response);
}
